package com.itbaizhan.service;

import com.itbaizhan.domain.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author 13487
 * @description 针对表【user】的数据库操作Service
 * @createDate 2024-04-26 17:01:12
 */
public interface UserService extends IService<User> {

    public List<User> findAll();

    public User findById(Long id);

    public int insert(String name, Integer age);

    public int update(User user);

}
